<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$title = $_POST['newtitle'];

include '../../../../readcookie.php';
include '../../../../db.php';

$query = "INSERT INTO Article (articleTITLE) VALUES (   '$title')";
mysql_query($query) or die('Error, insert query failed');
echo '
<script type="text/javascript">
window.location.href = document.referrer;
</script>
';
?>

